# GuildWars2 preset by notahuman
# https://notabug.org/notahuman/presets

# My in-game settings:
# Gamma: 1.2 (1.0 <-> 1.25)
# AA: SMAA High / OFF
# Postprocessing: OFF
# Light Adaptation: OFF
# DXVK settings:
# - dxgi.numBackBuffers = 3 (triple buffering for better frame pacing & performance, less GPU bound)
# - d3d11.relaxedBarriers = True

## IMPORTANT: ##
# NFAA must be installed separately, it's not included in the crosire/reshade-shaders repository.
# If any of the shaders below do not exist, you will get a blank screen when launching the game.
# vkBasalt does not have fancy error handling, so you will have to launch from a terminal and look for error lines like "vkBasalt err: failed to load shader file".

#effects = FakeHDR:Clarity:NFAA:PPFX_Bloom
#effects = FakeHDR:Clarity:NFAA:MagicBloom
#effects = FakeHDR:NFAA:Clarity:MagicBloom
#effects = FakeHDR:Clarity:NFAA:MagicBloom
effects = FakeHDR:Clarity:NFAA

# Source: https://github.com/BlueSkyDefender/AstrayFX
NFAA           = /home/user/.config/reshade/AstrayFX/Shaders/NFAA.fx
# Source: https://github.com/crosire/reshade-shaders
FakeHDR        = /usr/share/reshade/shaders/FakeHDR.fx
Clarity        = /usr/share/reshade/shaders/Clarity.fx
MagicBloom     = /home/user/.config/reshade/shaders/MagicBloom-optimized.fx

reshadeTexturePath = "/usr/share/reshade/textures"
reshadeIncludePath = "/usr/share/reshade/shaders"

## FakeHDR ##
# Setting HDRPower higher makes dark things darker.
HDRPower=1.0831139
#HDRPower=1.09696979
# bleh
#HDRPower=1.1069697
# too high
#HDRPower=1.133333
# The difference between radius1 and radius2 decides the peak brightness.
# Setting radius2 higher than radius1 makes bright things brighter.
radius1=0.969797
#radius1=0.9751111
# great
#radius1=0.9839749
radius2=1.0

## NFAA ##
# 1080p
#AA_Adjust=2
#Mask_Adjust=0.97
# 1440p
#AA_Adjust=17
#Mask_Adjust=0.111109
AA_Adjust=23
# I can feel this number calling out to me.
Mask_Adjust=0.09226183

## Clarity ##
# radius 1 is ok, 4 is overkill
ClarityRadius=1
ClarityOffset=0.3333331
# blend mode 1 ~= 3
# modes 3, 4, 5 are good
ClarityBlendMode=5
ClarityBlendIfDark=0
#ClarityBlendIfLight=191
ClarityBlendIfLight=223
# If you set this too high, some textures will look flat and washed out (oversharpened like an inverse depth-of-field effect).
ClarityStrength=0.222199
#ClarityStrength=0.255571
#ClarityStrength=0.441101
#ClarityStrength=0.533327
ClarityDarkIntensity=0.17
# past 1.0 is overkill
ClarityLightIntensity=0.41

## MagicBloom ##
# FakeHDR can easily overbrighten, so tune around it, or tune both at the same time
fBloom_Intensity=1.990961

# Bloom sensitivity - lower is more sensitive
fBloom_Threshold=3.169
#fBloom_Threshold=4.7
#fBloom_Threshold=6.7

# great
#fAdapt_Speed=0.03
#fAdapt_Speed=0.0097
fAdapt_Speed=0.0041

fAdapt_Sensitivity=0.279311
#fAdapt_Sensitivity=0.301493
#fAdapt_Sensitivity=0.4111
#fAdapt_Sensitivity=0.57973
#fAdapt_Sensitivity=0.7

#iAdapt_Precision=0.1
iAdapt_Precision=0.5



depthCapture = off
toggleKey = Insert
